package com.mzj.saas.mservice.property.repository;

import com.mzj.saas.mservice.property.entity.DepartmentRemainingRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface DepartmentRemainingRecordRepository extends JpaRepository<DepartmentRemainingRecord,Long>, JpaSpecificationExecutor<DepartmentRemainingRecord> {
    List<DepartmentRemainingRecord> findByRemainingIdAndHouseId(Long remId,String houseId);

    List<DepartmentRemainingRecord> findByRemainingIdAndOperateStatusAndStatus(Long remId,Integer operateStatus,Integer status);


}
